public class Application {
    public static void main(String args[]) {
      Simulator simulator=new Simulator();
      Simulator.playSound(new Dog());
      Simulator.playSound(new Dog());
    }
}
